export {};
// 获得函数的参数类型组成的元组类型
type Parameters<T extends (...args: any) => any> = 
  T extends (...args: infer P) => any
  ? P : never;

type A = Parameters<(a: string) => void>; // [string]
let a: A = ["12"];
